"""
while 循环

"""
# while 条件:
i = 0
while i < 5:
    print(i)
    i += 1
"""
break
"""
while True:
    print("请输入密码：")
    password = input()
    if password == "123456":
        print("密码正确")
        break
    # continue
    else:
        print("密码错误")

"""
for 循环
"""
for i in range(5):  # 0,1,2,3,4
    print(i)

    # 测试数据
    test_data = ['1111', {'name': 'hangman'}, 3, 4, 5]
    for aa in test_data:
        print(aa)
